package com.lcm.oj.lanqiao.year2021.moni.c2;

/**
 * @author Coder-lcm
 * @date 2021/4/17
 */
public class T3 {
    public static void main(String[] args) {
        int res = 0;
        for (int i = 1; i <= 10; i++) {
            for (int i1 = 1; i1 <= 10; i1++) {
                for (int i2 = 1; i2 <= 10; i2++) {
                    for (int i3 = 1; i3 <= 10; i3++) {
                        for (int i4 = 1; i4 <= 10; i4++) {
                            if (i <= i1 && i1 <= i2 && i2 <= i3 && i3 <= i4) {
                                res++;
                            }
                        }
                    }
                }
            }
        }
        System.out.println(res);
    }
            
}
